/*
* pps_bom
*/
package com.pitop.assembly.api;

import com.pitop.assembly.entity.AssemblyLog;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.ArrayList;
import java.util.List;

/**
 * 组件日志 api请求熔断器 熔断实现
 *
 * @author berton
 */
@Component
public class AssemblyLogFeignApiImpl implements AssemblyLogFeignApi {
    /**
     * 查询AssemblyLog一个详情信息
     *
     * @param id
     * @return AssemblyLog
     */
    @Override
    public AssemblyLog load(@RequestParam("id") Long id) {
        return new AssemblyLog();
    }

    /**
     * 查询AssemblyLog一个详情信息,(将查询关联数据)
     *
     * @param id
     * @return AssemblyLog
     */
    @Override
    public AssemblyLog get(@RequestParam("id") Long id) {
        return new AssemblyLog();
    }


    /**
     * 根据条件id查询AssemblyLog一个详情信息
     *
     * @param id
     * @return AssemblyLog
     */
    @Override
    public AssemblyLog loadById(@RequestParam("id") Long id) {
        return new AssemblyLog();
    }

    /**
     * 根据条件id查询AssemblyLog一个详情信息,(将查询关联数据)
     *
     * @param id
     * @return AssemblyLog
     */
    @Override
    public AssemblyLog getById(@RequestParam("id") Long id) {
        return new AssemblyLog();
    }

    /**
     * 查询AssemblyLog信息集合
     *
     * @return 分页对象
     */
    @Override
    public List<AssemblyLog> list(@RequestBody AssemblyLog assemblyLog, int curPage, int pageSize) {
        return new ArrayList();
    }

    /**
     * 查询AssemblyLog信息集合
     *
     * @return 分页对象
     */
    @Override
    public List<AssemblyLog> listByPk(Long id, int curPage, int pageSize) {
        return new ArrayList();
    }

    @Override
    public Integer count(@RequestParam("id") Long id) {
        return 0;
    }

    @Override
    public Integer count(@RequestBody AssemblyLog assemblyLog) {
        return 0;
    }

    /**
     * 创建AssemblyLog
     *
     * @return AssemblyLog
     */
    @Override
    public AssemblyLog build(@RequestBody AssemblyLog assemblyLog) {
        return new AssemblyLog();
    }

    /**
     * 修改AssemblyLog
     *
     * @return AssemblyLog
     */
    @Override
    public AssemblyLog modify(@RequestBody AssemblyLog assemblyLog) {
        return new AssemblyLog();
    }

    /**
     * 删除AssemblyLog
     */
    @Override
    public void delete(@RequestParam("id") Long id) {
        return;
    }
}
